package com.cloudweb.oa.api;

import cn.js.fan.db.ListResult;
import cn.js.fan.util.ErrMsgException;
import com.redmoon.oa.flow.FormDb;
import com.redmoon.oa.visual.FormDAO;
import com.redmoon.oa.visual.FormDAOLog;

import java.util.Date;

public interface IFormDaoLogService {

    boolean log(String userName, int logType, FormDAO fdao) throws ErrMsgException;

    FormDAOLog getLastBeforeReceiveDate(FormDb fd, int flowId, Date receiveDate);

    ListResult listResult(FormDb fd, String listsql, int curPage, int pageSize) throws ErrMsgException;
}
